const template = {
    forbidEnum:[
        {
          name: "正常",
          code: "0"
        },
        {
          name: "失效",
          code: "1"
        }
      ],     
    templateLangEnum:[
    {
        name: "中文",
        code: "cn_zh"
    },
    {
        name: "英文",
        code: "en"
    },
    {
        name: "台湾",
        code: "cn_tw"
    }
    ],
    forbidMap:{},
    templateLangMap:{}
}

template.forbidEnum.forEach(function(item){
    template.forbidMap[item.code] = item.name;
})

template.templateLangEnum.forEach(function(item){
    template.templateLangMap[item.code] = item.name;
})

  
  export default template;
  